﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "cell_information", DisableSyncStructure = true)]
	public partial class CellInformation {

		/// <summary>
		/// 小区编号，主键自增
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Id", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int CellId { get; set; }

		/// <summary>
		/// 小区所处位置
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Address", StringLength = 50)]
		public string CellAddress { get; set; }

		/// <summary>
		/// 小区面积
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Area")]
		public double? CellArea { get; set; }

		/// <summary>
		/// 小区所在市
		/// </summary>
		[JsonProperty, Column(Name = "Cell_City", StringLength = 50)]
		public string CellCity { get; set; }

		/// <summary>
		/// 小区创建时间
		/// </summary>
		[JsonProperty, Column(Name = "Cell_CreateTime", DbType = "datetime")]
		public DateTime? CellCreateTime { get; set; }

		/// <summary>
		/// 小区开发商
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Developers", StringLength = 50)]
		public string CellDevelopers { get; set; }

		/// <summary>
		/// 小区绿化率
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Greening")]
		public double? CellGreening { get; set; }

		/// <summary>
		/// 小区总户数
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Household", DbType = "int")]
		public int? CellHousehold { get; set; }

		/// <summary>
		/// 小区缩略图
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Img")]
		public string CellImg { get; set; }

		/// <summary>
		/// 小区名称
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Name", StringLength = 50)]
		public string CellName { get; set; }

		/// <summary>
		///  小区所属物业
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Property", DbType = "int")]
		public int? CellProperty { get; set; }

		/// <summary>
		/// 小区物业公司名
		/// </summary>
		[JsonProperty, Column(Name = "Cell_PropertyCompany", StringLength = 50)]
		public string CellPropertyCompany { get; set; }

		/// <summary>
		/// 小区所在省
		/// </summary>
		[JsonProperty, Column(Name = "Cell_Province", StringLength = 50)]
		public string CellProvince { get; set; }

		/// <summary>
		/// 小区状态(0不显示，1显示)
		/// </summary>
		[JsonProperty, Column(Name = "Cell_State", DbType = "int")]
		public int? CellState { get; set; }

	}

}
